<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>白菜价</title>
    <link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/index.css">
    <link rel="stylesheet" href="./css/baicaijia.css">
    <script src="./lib/jquery-3.4.1.min.js"></script>
    <script src="./lib/template-web.js"></script>
    <script src="./js/rem.js"></script>
    <script src="./js/baicaijia.js"></script>
</head>
<body>
    <!-- header -->
    <div class="header">
        <a class="hea-a" href="javascript:history.go(-1)">
            <i class="glyphicon glyphicon-circle-arrow-left"></i>
        </a>
        <h1 class="h1">白菜价-淘宝内部劵</h1>
        <a class="he-app" href="#">
            <img src="./img/header_app.png" alt="">
        </a>
        
    </div>
   
    <!-- bargain -->
    <div class="bargain-top">
        <ul >
            <li>
                <a href="">全部</a>
            </li>
            <li>
                <a href="">热销</a>
            </li>
            <li>
                <a href="">9块邮</a>
            </li>
            <li>
                <a href="">数码家电</a>
            </li>
            <li>
                <a href="">居家</a>
            </li>
            <li>
                <a href="">美食</a>
            </li>
            <li>
                <a href="">男装</a>
            </li>
            <li>
                <a href="">女装</a>
            </li>
            <li>
                <a href="">鞋包配饰</a>
            </li>
            <li>
                <a href="">文体</a>
            </li>
            <li>
                <a href="">母婴</a>
            </li>
            <li>
                <a href="">美妆</a>
            </li>
            
        </ul>
    </div>
    
    <div class="bargain-down">
        <ul>
            <li>
                <a href="">
                    <img src="./img/c.jpg" alt="">

                    <div>
                        <p>[包邮]多功能车载手机支架仪表台</p>
                        <p>
                            <span>券后¥7.9</span>
                            <span>17.9</span>
                        </p>
                        <p>
                            <span>
                                <em class="spaone">1%</em>
                                <span class="spn"></span>
                            </span>
                            <span>已领82张</span>
                        </p>
                        <p>点此领10元优惠券</p>
                    </div>
                    <button>下单连接</button>
                </a>
            </li>
        </ul>
    </div>
    

  

 

    <!-- foot -->
    <div class="foot">
        <div class="foot-top">
            <ul>
                <li>
                    <a href="">登录</a>
                </li>
                <li>
                    <a href="">注册</a>
                </li>
                <li>
                    <a href="#">
                        <img src="./img/top.jpg" alt="">
                        返回到顶部
                    </a>
                </li>
            </ul>
        </div>

        <div class="foot-base">
            <p>
                <span class="red">手机APP下载</span>
                <span class="h">慢慢买手机版</span>
                <span> -- </span>
                <span>掌上比价平台</span>
            </p>
            <p>m.manmanbuy.com</p>
        </div>
    </div>

    <script type="text/html" id="tql">
        {{ each result v i }}        
        <ul>
            <li>
                <a href="">
                    <img src="{{ v.productImg }}" alt="">

                    <div>
                        <p>{{ v.productName }}</p>
                        <% var pp = v.productPrice.split("¥")[2] %>
                        <% var ll = v.productPrice.split("¥")[0] 
                           var tt = v.productPrice.split("¥")[1]
                           var ww = ll + "¥" + tt
                        %>
                        <p>
                            <span>{{ ww }}</span>
                            <span>{{ pp }}</span>
                        </p>
                        <%var pr = v.productCouponRemain.split("%")[1]                     
                        %>
                        <%var pro = v.productCouponRemain.split("已领")[0]%>
                        <p>
                            <span>
                                <em class="spaone">{{ pro }}</em>
                                <span  style="width:<%=v.productCouponRemain.split('已领')[0]%>" class="spn"></span>
                            
                            </span>
                            <span>{{ pr }}</span>
                        </p>
                        <p>{{ v.productCoupon.val }}</p>
                    </div>
                    <button>下单连接</button>
                </a>
            </li>
        </ul>
        {{ /each }}
    </script>
   
    <script type="text/html" id="tmp">
        
        <ul id="ulclick">
            {{ each result v i }}
            <li data-id="{{ v.titleId }}">
                <a href="#" >{{ v.title }}</a>
            </li>
            {{ /each }}
            
        </ul>
        
    </script>
    
    
    
</body>
</html>